﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class Profession
    {
        int departmentid;
        string professionname;
        int professionid;

        public int Departmentid
        {
            get
            {
                return departmentid;
            }

            set
            {
                departmentid = value;
            }
        }

        public string Professionname
        {
            get
            {
                return professionname;
            }

            set
            {
                professionname = value;
            }
        }

        public int Professionid
        {
            get
            {
                return professionid;
            }

            set
            {
                professionid = value;
            }
        }

        public Profession(int departmentid,int professionid ,string professionname)
        {
            this.Departmentid = departmentid;
            this.Professionname = professionname;
            this.Professionid = professionid;
        }
    }
}
